package com.itcast.service;

import com.itcast.entity.PageResult;
import com.itcast.entity.QueryPageBean;
import com.itcast.pojo.CheckGroup;
import com.itcast.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealService {
    public void add(Setmeal setmeal, Integer[] checkgroupIds);

    public PageResult findPage(QueryPageBean queryPageBean);

    public Setmeal findById(Integer id);

    public List<Integer> findCheckGroupIdsBySetmeal(Integer id);

    public void edit(Setmeal setmeal, Integer[] checkgroupIds);

    public void deleteById(Integer id);

    List<Setmeal> findAll();

    Setmeal findDetailById(Integer id);

    List<Map<String, Object>> countBySetmealName();
}
